package org.example.jcclubsubjectdomain.basic.convet;


import org.example.jcclubsubjectdomain.basic.entity.SubjectCategoryBo;
import org.example.jcclubsubjectinfra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryConverter {
	SubjectCategoryConverter INSTANCE = Mappers.getMapper(SubjectCategoryConverter.class);
	SubjectCategory convertBoToCategory(SubjectCategoryBo subjectCategoryBo);

	List<SubjectCategoryBo> convertCategoryListToBoList(List<SubjectCategory> subjectCategoryList);
}
